<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>RestAPI: RestAPI.core.ResponseData.DataNode Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">RestAPI
   &#160;<span id="projectnumber">0.0.2</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>RestAPI</b>      </li>
      <li class="navelem"><b>core</b>      </li>
      <li class="navelem"><b>ResponseData</b>      </li>
      <li class="navelem"><a class="el" href="classRestAPI_1_1core_1_1ResponseData_1_1DataNode.html">DataNode</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">RestAPI.core.ResponseData.DataNode Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="RestAPI::core::ResponseData::DataNode" -->
<p>This container contains the response data from webserver.  
 <a href="classRestAPI_1_1core_1_1ResponseData_1_1DataNode.html#details">More...</a></p>

<p><a href="classRestAPI_1_1core_1_1ResponseData_1_1DataNode-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9c68fc7e7584c0258196a0b31f697d64"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::__init__" ref="a9c68fc7e7584c0258196a0b31f697d64" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1core_1_1ResponseData_1_1DataNode.html#a9c68fc7e7584c0258196a0b31f697d64">__init__</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize with a DataContainer node or xml/html text. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a56fd1bb66f024768c0c40741d9fa2318"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::setNamespace" ref="a56fd1bb66f024768c0c40741d9fa2318" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>setNamespace</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a2f62d74b799ad13d6a74ad9f8bf6ae"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::getNamespace" ref="a0a2f62d74b799ad13d6a74ad9f8bf6ae" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>getNamespace</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81501c293e7dbe40018be5f536e2afd5"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::getChildByName" ref="a81501c293e7dbe40018be5f536e2afd5" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>getChildByName</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a59879cbae9452355efd4431641bc4d7e"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::getDescedentByName" ref="a59879cbae9452355efd4431641bc4d7e" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>getDescedentByName</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16ab1dfe88000954cf533685513f6b84"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::append" ref="a16ab1dfe88000954cf533685513f6b84" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>append</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8062d5f9ead5b13a1783a8c70bedcb7e"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::hasChild" ref="a8062d5f9ead5b13a1783a8c70bedcb7e" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>hasChild</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9a3e973a29b833a185a9c97d05484aa4"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::getChildrenName" ref="a9a3e973a29b833a185a9c97d05484aa4" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>getChildrenName</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1core_1_1ResponseData_1_1DataNode.html#a902b61410994e1f199f29cfbb3f05fb6">keys</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return all the descendent keys(tagnames).  <a href="#a902b61410994e1f199f29cfbb3f05fb6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a73cd3d9efcd9605a07d51172e8e12b46"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::getDescedentsName" ref="a73cd3d9efcd9605a07d51172e8e12b46" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>getDescedentsName</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ebb32833ca7d71b1cf9e07023263154"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::removeNamespaceFromTag" ref="a0ebb32833ca7d71b1cf9e07023263154" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>removeNamespaceFromTag</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a704c8765e010995c1c0444fa4493f761"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::setAttr" ref="a704c8765e010995c1c0444fa4493f761" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>setAttr</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a70c92ed6b0f941536eac4793567ed51b"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::getAttr" ref="a70c92ed6b0f941536eac4793567ed51b" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>getAttr</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a12c1fedc7e857e6782121530ed556456"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::set" ref="a12c1fedc7e857e6782121530ed556456" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>set</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1da3d253aed95f42200cb5b7d9060dc"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::value" ref="af1da3d253aed95f42200cb5b7d9060dc" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>value</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b8aa720fcf25a0a4d1b85982b93860c"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::str" ref="a3b8aa720fcf25a0a4d1b85982b93860c" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>str</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a31a78a5323c6b5a7827f26d032364dde"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::__str__" ref="a31a78a5323c6b5a7827f26d032364dde" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>__str__</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae45c7fe124b60f489378ad9753ca9219"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::__repr__" ref="ae45c7fe124b60f489378ad9753ca9219" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>__repr__</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a08504369f49f20e37e5c8e3e8ac80783"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::__eq__" ref="a08504369f49f20e37e5c8e3e8ac80783" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>__eq__</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad993f5a55a4588eedf39c58766917adf"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::__iter__" ref="ad993f5a55a4588eedf39c58766917adf" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>__iter__</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6ee064f6ded78e10d14f8af8a5abe98f"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::__getattr__" ref="a6ee064f6ded78e10d14f8af8a5abe98f" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>__getattr__</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9c4e4a009a700dc7416406b47c21bf2f"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::__getitem__" ref="a9c4e4a009a700dc7416406b47c21bf2f" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>__getitem__</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04f6b2b0d5694a40299e146a0cfd2691"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::__xml__" ref="a04f6b2b0d5694a40299e146a0cfd2691" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1core_1_1ResponseData_1_1DataNode.html#a04f6b2b0d5694a40299e146a0cfd2691">__xml__</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a xml text. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a515a6009d7cba27dc367fda8fe156471"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::data" ref="a515a6009d7cba27dc367fda8fe156471" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>data</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe2d779f66dcb05c90ebdf8747a83e71"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::namespace" ref="abe2d779f66dcb05c90ebdf8747a83e71" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>namespace</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This container contains the response data from webserver. </p>
<p>Stored as lxml.etree element </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a902b61410994e1f199f29cfbb3f05fb6"></a><!-- doxytag: member="RestAPI::core::ResponseData::DataNode::keys" ref="a902b61410994e1f199f29cfbb3f05fb6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def <a class="el" href="classRestAPI_1_1core_1_1ResponseData_1_1DataNode.html#a902b61410994e1f199f29cfbb3f05fb6">RestAPI.core.ResponseData.DataNode.keys</a> </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return all the descendent keys(tagnames). </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>core/ResponseData.py</li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 24 2013 00:42:33 for RestAPI by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
